package com.softoa.serviceImp;

import com.softoa.mapper.PersonalAddressMapper;
import com.softoa.pojo.Personaladdress;
import com.softoa.service.IPersonalAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PersonalAddressImp implements IPersonalAddressService {
    @Autowired
    PersonalAddressMapper personalAddressMapper;

    @Override
    public int personalAddressInsert(Personaladdress personaladdress) {
        return personalAddressMapper.personalAddressInsert(personaladdress);
    }

    @Override
    public int personalAddressUpdate(Personaladdress personaladdress) {
        return personalAddressMapper.personalAddressUpdate(personaladdress);
    }

    @Override
    public List<Personaladdress> personalAddressSelect(Personaladdress rule) {
        return personalAddressMapper.personalAddressSelect(rule);
    }
}
